package com.zhuangxiaoyan.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Classname MvcController
 * @Description TODO
 * @Date 2022/5/5 21:57
 * @Created by xjl
 */
@RestController
public class MvcController {

    @RequestMapping("/test.do")
    public Object mvcTest(String name, HttpServletRequest request, HttpServletResponse response) {
        String messages="mvc demo test……";
        System.out.println(messages);
        return messages;
    }
}
